We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5465cf + b71ac50 commit 7b000ecCopy full SHA for 7b000ec
2 files changed
CMakeLists.txt
@@ -33,7 +33,7 @@ add_definitions(-DLEATHERMAN_I18N)
33
include(leatherman)
34
35
# Add other dependencies
36
-find_package(Boost 1.54 REQUIRED COMPONENTS thread date_time chrono system program_options)
+find_package(Boost 1.54 REQUIRED COMPONENTS locale thread date_time chrono system program_options)
37
38
# pthreads if you require the Boost.Thread component.
39
find_package(Threads)
lib/tests/CMakeLists.txt
@@ -30,6 +30,10 @@ target_link_libraries(lib${PROJECT_NAME}_test
30
${CMAKE_THREAD_LIBS_INIT}
31
)
32
+if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND BOOST_STATIC)
+ target_link_libraries(lib${PROJECT_NAME}_test iconv)
+endif()
+
add_test(NAME "unit_tests" COMMAND lib${PROJECT_NAME}_test)
configure_file (
0 commit comments