diff --git a/src/cli/CMakeLists.txt b/src/cli/CMakeLists.txt index 071ca4a..a912900 100644 --- a/src/cli/CMakeLists.txt +++ b/src/cli/CMakeLists.txt @@ -3,13 +3,5 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/..) add_executable(darktable-cli main.c) set_target_properties(darktable-cli PROPERTIES LINKER_LANGUAGE C) -if(CMAKE_COMPILER_IS_GNUCC) - if (CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.3) - if (CMAKE_SYSTEM_NAME MATCHES "^(DragonFly|FreeBSD|NetBSD|OpenBSD)$") - message("-- Force link to libintl on *BSD with GCC 4.3+") - target_link_libraries(darktable-cli -lintl) - endif() - endif() -endif() target_link_libraries(darktable-cli lib_darktable) install(TARGETS darktable-cli DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/src/external/rawspeed/CMakeLists.txt b/src/external/rawspeed/CMakeLists.txt index 6389f84..359df0e 100644 --- a/src/external/rawspeed/CMakeLists.txt +++ b/src/external/rawspeed/CMakeLists.txt @@ -114,14 +114,6 @@ if (BUILD_RS_IDENTIFY) add_executable(darktable-rs-identify rawspeed-identify.cpp) set_target_properties(darktable-rs-identify PROPERTIES LINKER_LANGUAGE CXX) - if(CMAKE_COMPILER_IS_GNUCC) - if (CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.3) - if (CMAKE_SYSTEM_NAME MATCHES "^(DragonFly|FreeBSD|NetBSD|OpenBSD)$") - message("-- Force link to libintl on *BSD with GCC 4.3+") - target_link_libraries(darktable-rs-identify -lintl) - endif() - endif() - endif() add_dependencies(darktable-rs-identify rawspeed) target_link_libraries(darktable-rs-identify rawspeed_static ${Pugixml_LIBRARIES} ${JPEG_LIBRARIES}) install(TARGETS darktable-rs-identify DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/src/generate-cache/CMakeLists.txt b/src/generate-cache/CMakeLists.txt index 9bf9461..365b124 100644 --- a/src/generate-cache/CMakeLists.txt +++ b/src/generate-cache/CMakeLists.txt @@ -3,13 +3,5 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}/..) add_executable(darktable-generate-cache main.c) set_target_properties(darktable-generate-cache PROPERTIES LINKER_LANGUAGE C) -if(CMAKE_COMPILER_IS_GNUCC) - if (CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.3) - if (CMAKE_SYSTEM_NAME MATCHES "^(DragonFly|FreeBSD|NetBSD|OpenBSD)$") - message("-- Force link to libintl on *BSD with GCC 4.3+") - target_link_libraries(darktable-generate-cache -lintl) - endif() - endif() -endif() target_link_libraries(darktable-generate-cache lib_darktable) install(TARGETS darktable-generate-cache DESTINATION ${CMAKE_INSTALL_BINDIR})