mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 10:35:28 +02:00

Instead add it to the target interface. This way, only libraries that link in bochs will see its include directories.
19 lines
234 B
CMake
19 lines
234 B
CMake
add_library(bdisasm STATIC
|
|
dis_decode.cc
|
|
dis_groups.cc
|
|
resolve.cc
|
|
syntax.cc
|
|
)
|
|
|
|
if (WIN32)
|
|
target_sources(bdisasm
|
|
PRIVATE
|
|
stdafx.cc
|
|
)
|
|
endif()
|
|
|
|
target_include_directories(bdisasm
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|