let's see if I can fix the MSVC build
This commit is contained in:
parent
a66584d70c
commit
0649b0e9f2
1 changed files with 2 additions and 0 deletions
2
extern/mpg123/src/CMakeLists.txt
vendored
2
extern/mpg123/src/CMakeLists.txt
vendored
|
|
@ -495,6 +495,8 @@ target_compile_definitions(${TARGET} PRIVATE
|
|||
|
||||
if(MSVC AND MACHINE MATCHES "x86|amd64" AND YASM_ASSEMBLER)
|
||||
list(TRANSFORM PLATFORM_DEFINITIONS PREPEND /D)
|
||||
list(TRANSFORM PLATFORM_SOURCES PREPEND "${PROJECT_SOURCE_DIR}/src/")
|
||||
message("PLATFORM_SOURCES: ${PLATFORM_SOURCES}")
|
||||
foreach(FILE ${PLATFORM_SOURCES})
|
||||
get_filename_component(FILENAME ${FILE} NAME)
|
||||
add_custom_command(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue