cmake: fix compilation with zxcvbn, always enable

This commit is contained in:
selsta
2021-06-14 19:13:32 +02:00
parent 7c379e2cda
commit 6610f6f2da
17 changed files with 24871 additions and 282705 deletions

View File

@@ -1,4 +1,3 @@
file(GLOB_RECURSE SRC_SOURCES *.cpp)
file(GLOB_RECURSE SRC_HEADERS *.h)
add_library(zxcvbn STATIC zxcvbn.c)
set_target_properties(zxcvbn PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_include_directories(zxcvbn PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})