CMake: Remove useless source_group commands

v0.27.3
Luis Díaz Más 7 years ago
parent b208bcef7d
commit fa5f057f8c

@ -191,18 +191,11 @@ if (EXIV2_ENABLE_WEBREADY)
endif()
if ( MSVC OR CYGWIN OR MINGW OR MSYS)
target_compile_definitions(exiv2lib
PRIVATE
PSAPI_VERSION=1 # to be compatible with <= WinVista (#905)
)
if (WIN32)
target_compile_definitions(exiv2lib PRIVATE PSAPI_VERSION=1) # to be compatible with <= WinVista (#905)
endif()
if ( MSVC )
source_group("Header Files" FILES ${LIBEXIV2_HDR} )
source_group("Header Files" FILES ${LIBCURL_HDR} )
source_group("Header Files" FILES ${SSH_HDR} )
else()
if (NOT MSVC)
if ( UNIX AND NOT FREEBSD )
target_link_libraries( exiv2lib PRIVATE ${CMAKE_DL_LIBS}) # -ldl = dynamic loader used by src/version.cpp
endif()

Loading…
Cancel
Save