forked from Public-Mirror/Textractor
fix debug build
This commit is contained in:
parent
17b5884149
commit
b3b665fb65
@ -41,8 +41,9 @@ endif()
|
|||||||
|
|
||||||
add_library(minhook ${minhook_src})
|
add_library(minhook ${minhook_src})
|
||||||
add_library(texthook MODULE ${texthook_src})
|
add_library(texthook MODULE ${texthook_src})
|
||||||
|
# isn't there a better way to do this?
|
||||||
target_precompile_headers(texthook PRIVATE ../include/common.h)
|
target_precompile_headers(texthook PRIVATE ../include/common.h)
|
||||||
if(NOT CMAKE_BUILD_TYPE MATCHES DEBUG)
|
if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
|
||||||
target_compile_options(minhook PRIVATE /MT)
|
target_compile_options(minhook PRIVATE /MT)
|
||||||
target_compile_options(texthook PRIVATE /MT)
|
target_compile_options(texthook PRIVATE /MT)
|
||||||
target_link_options(texthook PRIVATE /NODEFAULTLIB:MSVCRT)
|
target_link_options(texthook PRIVATE /NODEFAULTLIB:MSVCRT)
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 248aad5d9b719e7db264d920837b96e34f9d553b
|
Subproject commit 423d1e45af2ed2719a5c31e990e935ef301ed9c3
|
Loading…
x
Reference in New Issue
Block a user