Cmake why

This commit is contained in:
Andrew Cassidy 2022-05-23 00:41:46 -07:00
parent 8f19ad6a1d
commit 0046bef9d3

View File

@ -72,7 +72,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
endif ()
if (MSVC)
target_compile_options(_quicktex '/DWIN32_LEAN_AND_MEAN=1' '/DNOMINMAX=1') # prevent windows macros from stepping on everything
target_compile_options(_quicktex PUBLIC '/DWIN32_LEAN_AND_MEAN=1' '/DNOMINMAX=1') # prevent windows macros from stepping on everything
endif()
message("RELEASE FLAGS=${CMAKE_CXX_FLAGS}")