win: fix building statically
This commit is contained in:
parent
f121c36ffd
commit
5f15aa477e
|
@ -33,7 +33,8 @@ endif()
|
|||
if(NOT QTKEYCHAIN_STATIC)
|
||||
add_library(qtkeychain SHARED ${qtkeychain_SOURCES})
|
||||
set_target_properties(qtkeychain PROPERTIES COMPILE_DEFINITIONS QKEYCHAIN_BUILD_QKEYCHAIN_LIB)
|
||||
target_link_libraries(qtkeychain ${qtkeychain_LIBRARIES} )
|
||||
target_link_libraries(qtkeychain ${qtkeychain_LIBRARIES})
|
||||
else()
|
||||
add_library(qtkeychain STATIC ${qtkeychain_SOURCES})
|
||||
endif()
|
||||
set_target_properties(qtkeychain PROPERTIES COMPILE_DEFINITIONS QKEYCHAIN_STATICLIB)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue