Browse Source

Merge branch 'fix-core-linking-on-freebsd'

* fix-core-linking-on-freebsd:
  CTKCore: Fix typo introduced in commontk/CTK@f8b31c3
Jean-Christophe Fillion-Robin 9 years ago
parent
commit
85c126b3a7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Libs/Core/CMakeLists.txt

+ 2 - 1
Libs/Core/CMakeLists.txt

@@ -146,7 +146,8 @@ if(UNIX)
   # FreeBSD: The same functionality that is in linux's libdl is provided in FreeBSD's libc
   find_library(HAVE_LIBDL dl)
   if(HAVE_LIBDL)
-  target_link_libraries(${PROJECT_NAME} dl)
+    target_link_libraries(${PROJECT_NAME} dl)
+  endif()
 elseif(WIN32 AND NOT MINGW)
   target_link_libraries(${PROJECT_NAME} dbghelp)
 endif()