diff options
author | Andreas Schuh <andreas.schuh.84@gmail.com> | 2015-03-24 23:45:21 +0000 |
---|---|---|
committer | Andreas Schuh <andreas.schuh.84@gmail.com> | 2015-03-24 23:45:21 +0000 |
commit | 7eb3d365e32625368201c33ac56ed3bbf515713c (patch) | |
tree | 09d020462f54ad1dbd2d2f53a690d8c3496555d6 /test/nc | |
parent | ccff5658e05176cdcf07ef7ffdf2d115687c1a55 (diff) | |
download | gflags-7eb3d365e32625368201c33ac56ed3bbf515713c.tar.gz gflags-7eb3d365e32625368201c33ac56ed3bbf515713c.tar.bz2 gflags-7eb3d365e32625368201c33ac56ed3bbf515713c.zip |
#105 Modify negative compilation tests to link against gflags_LIBRARIES
Diffstat (limited to 'test/nc')
-rw-r--r-- | test/nc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nc/CMakeLists.txt b/test/nc/CMakeLists.txt index 9f906ae..663c210 100644 --- a/test/nc/CMakeLists.txt +++ b/test/nc/CMakeLists.txt @@ -10,7 +10,7 @@ string (TOUPPER ${TEST_NAME} TEST_NAME_UPPER) project (gflags_nc_${TEST_NAME}) find_package (gflags REQUIRED) -link_libraries (gflags_nothreads) include_directories ("${CMAKE_CURRENT_SOURCE_DIR}/..") add_definitions (-DTEST_${TEST_NAME_UPPER}) add_executable (gflags_nc_${TEST_NAME} gflags_nc.cc) +target_link_libraries(gflags_nc_${TEST_NAME} ${gflags_LIBRARIES}) |