I don't know why. The source code of src/CMakeLists.txt in version 2.4 is exactly the same with version 2.3
But the version 2.3 can be built successfully.
The error is printed by CMake, and the source code is (curly braces as default):
But the version 2.3 can be built successfully.
The error is printed by CMake, and the source code is (curly braces as default):
......
add_library(${Casablanca_LIBRARY} ${SOURCES}) #this line causes error!
target_link_libraries(${Casablanca_LIBRARY}
${CMAKE_THREAD_LIBS_INIT}
${Boost_SYSTEM_LIBRARY}
${Boost_THREAD_LIBRARY}
${Boost_ATOMIC_LIBRARY}
${Boost_CHRONO_LIBRARY}
${Boost_LOCALE_LIBRARY}
${Boost_RANDOM_LIBRARY}
${EXTRALINKS}
${Boost_FRAMEWORK}
${OPENSSL_LIBRARIES}
${COREFOUNDATION}
${ANDROID_STL_FLAGS}
)
......