all: simplify include path handling; update src/Makefile
This commit is contained in:
+1
-2
@@ -136,8 +136,7 @@ else()
|
||||
endif()
|
||||
|
||||
set(t upx)
|
||||
target_include_directories(${t} PRIVATE vendor/doctest vendor/ucl/include vendor/zlib)
|
||||
set_source_files_properties(src/compress_lzma.cpp PROPERTIES COMPILE_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}/vendor/lzma-sdk")
|
||||
target_include_directories(${t} PRIVATE vendor)
|
||||
target_compile_definitions(${t} PRIVATE $<$<CONFIG:Debug>:DEBUG=1>)
|
||||
if(GITREV_SHORT)
|
||||
target_compile_definitions(${t} PRIVATE UPX_VERSION_GITREV="${GITREV_SHORT}${GITREV_PLUS}")
|
||||
|
||||
Reference in New Issue
Block a user