mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-21 12:40:04 +00:00
Lib: force to be compiled *after* VMBoxGen
This commit is contained in:
parent
778c9fb92a
commit
872641cc63
@ -13,6 +13,9 @@ file(GLOB_RECURSE LIBHEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/**.h)
|
||||
add_library(LaikaLib STATIC ${LIBSOURCE} ${LIBHEADERS})
|
||||
target_link_libraries(LaikaLib PUBLIC sodium)
|
||||
|
||||
# make sure we're compiled *AFTER* lboxconfig.h has been generated
|
||||
add_dependencies(LaikaLib VMBoxGen)
|
||||
|
||||
# add the version definitions and the 'DEBUG' preprocessor definition if we're compiling as Debug
|
||||
target_compile_definitions(LaikaLib PUBLIC "$<$<CONFIG:Debug>:DEBUG>")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user