mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-29 15:51:02 +00:00
renamed dependency 'common' to emulator-common
also made it mandatory when using the 'windows-emulator' dep
This commit is contained in:
@@ -3,14 +3,14 @@ file(GLOB_RECURSE SRC_FILES CONFIGURE_DEPENDS
|
||||
*.hpp
|
||||
)
|
||||
|
||||
add_library(common ${SRC_FILES})
|
||||
add_library(emulator-common ${SRC_FILES})
|
||||
|
||||
momo_assign_source_group(${SRC_FILES})
|
||||
|
||||
target_include_directories(common INTERFACE "${CMAKE_CURRENT_LIST_DIR}")
|
||||
target_include_directories(emulator-common INTERFACE "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(common PUBLIC
|
||||
target_link_libraries(emulator-common PUBLIC
|
||||
Threads::Threads
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user