mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
make preprocessor definitions consistent in every single lib
SGP did not seem to make any use of compilationFlags or debugFlags when translating from msbuild to cmake, but there could be a thrice removed transitive include I've missed. there's a small probability this fixes some obscure UB or one-definition rule violation that's causing the mystery crashes people have reported
This commit is contained in:
committed by
Asdow
parent
0a758179c2
commit
31970291bd
+1
-1
@@ -163,5 +163,5 @@ foreach(app IN LISTS ApplicationTargets)
|
||||
# for SGP only
|
||||
target_link_libraries(${app}_sgp PRIVATE "ddraw.lib" "${PROJECT_SOURCE_DIR}/fmodvc.lib")
|
||||
target_link_libraries(${app}_sgp PRIVATE libpng)
|
||||
target_compile_definitions(${app}_sgp PRIVATE NO_ZLIB_COMPRESSION)
|
||||
target_compile_definitions(${app}_sgp PRIVATE ${compilationFlags} ${debugFlags} NO_ZLIB_COMPRESSION)
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user