Linux build fix

This commit is contained in:
Connor McLaughlin 2020-01-30 20:19:27 +10:00
parent 91064c2366
commit e11c7190b5
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ add_library(common
cd_image.h cd_image.h
cd_image_bin.cpp cd_image_bin.cpp
cd_image_cue.cpp cd_image_cue.cpp
cd_image_chd.cpp
cd_subchannel_replacement.cpp cd_subchannel_replacement.cpp
cd_subchannel_replacement.h cd_subchannel_replacement.h
cd_xa.cpp cd_xa.cpp
@ -55,7 +56,7 @@ add_library(common
target_include_directories(common PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..") target_include_directories(common PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
target_include_directories(common PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..") target_include_directories(common PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..")
target_link_libraries(common PRIVATE glad libcue Threads::Threads cubeb) target_link_libraries(common PRIVATE glad libcue Threads::Threads cubeb libchdr)
if(WIN32) if(WIN32)
target_sources(common PRIVATE target_sources(common PRIVATE