diff options
author | Josh Blum | 2011-07-28 11:26:14 -0700 |
---|---|---|
committer | Josh Blum | 2011-07-28 11:26:14 -0700 |
commit | 8c824bf2e3e6758aff05ee4b5f4d3f106a13c672 (patch) | |
tree | ebe9da6646a9a4fab32fe034d2f6ac42c0d33f34 | |
parent | 152db0ca6a8771ab4c95a6d4410ca749085ec157 (diff) | |
download | gnuradio-8c824bf2e3e6758aff05ee4b5f4d3f106a13c672.tar.gz gnuradio-8c824bf2e3e6758aff05ee4b5f4d3f106a13c672.tar.bz2 gnuradio-8c824bf2e3e6758aff05ee4b5f4d3f106a13c672.zip |
cmake: added -ldl flag to cppunit when pkg config is used
-rw-r--r-- | cmake/Modules/FindCppUnit.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/Modules/FindCppUnit.cmake b/cmake/Modules/FindCppUnit.cmake index bb06c3c11..f986f35c6 100644 --- a/cmake/Modules/FindCppUnit.cmake +++ b/cmake/Modules/FindCppUnit.cmake @@ -9,6 +9,7 @@ INCLUDE(FindPkgConfig) PKG_CHECK_MODULES(CPPUNIT "cppunit") +LIST(APPEND CPPUNIT_LIBRARIES ${CMAKE_DL_LIBS}) IF(NOT CPPUNIT_FOUND) FIND_PATH(CPPUNIT_INCLUDE_DIRS cppunit/TestCase.h |