r5sdk/r5dev/thirdparty/fastlz/CMakeLists.txt
Kawe Mazidjatari e5a455e7c7 Apply whole program optimization for certain targets
Only applied to certain targets to prevent bombing compile times; other projects don't really benefit of this.
2023-05-13 11:57:57 +02:00

13 lines
214 B
CMake

cmake_minimum_required( VERSION 3.16 )
add_module( "lib" "FastLZ" "" ${FOLDER_CONTEXT} )
start_sources()
add_sources( SOURCE_GROUP "Core"
"fastlz.c"
"fastlz.h"
)
end_sources()
whole_program_optimization()