mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-18 18:26:27 +01: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}
|
|
)
|