mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 09:43:02 +08:00
Merge pull request #974 from madebr/flac_escape
libflac: escape PROJECT_SOURCE_DIR
This commit is contained in:
commit
f395777fa3
@ -30,7 +30,7 @@ if(LIBFLAC_ARCHITECTURE MATCHES x86)
|
||||
src/libFLAC/ia32/cpu_asm.nasm
|
||||
src/libFLAC/ia32/fixed_asm.nasm
|
||||
src/libFLAC/ia32/lpc_asm.nasm)
|
||||
set(CMAKE_ASM_NASM_FLAGS "-i${PROJECT_SOURCE_DIR}/src/libFLAC/ia32/ -f win32 -d OBJ_FORMAT_win32")
|
||||
set(CMAKE_ASM_NASM_FLAGS "-i\"${PROJECT_SOURCE_DIR}/src/libFLAC/ia32/\" -f win32 -d OBJ_FORMAT_win32")
|
||||
elseif(LIBFLAC_ARCHITECTURE MATCHES x64)
|
||||
add_definitions(-DFLAC__CPU_X86_64)
|
||||
add_definitions(-DENABLE_64_BIT_WORDS)
|
||||
|
Loading…
Reference in New Issue
Block a user