Merge pull request #3 from XenotriX/bugfix/cmake_static_lib

Partially reverse previous change
This commit is contained in:
Joel Bodenmann 2019-10-22 13:57:56 +02:00 committed by GitHub
commit fe64f407c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ if(BUILD_STATIC)
target_compile_definitions(qtadvanceddocking PUBLIC ADS_STATIC)
else()
add_library(qtadvanceddocking SHARED ${ads_SRCS})
target_compile_definitions(qtadvanceddocking PUBLIC ADS_SHARED_EXPORT)
set(ads_COMPILE_DEFINE ${ads_COMPILE_DEFINE} ADS_SHARED_EXPORT)
endif()
install(FILES ${ads_INSTALL_INCLUDE}
DESTINATION include