Skip to content

Commit

Permalink
CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tangzx committed Sep 22, 2019
1 parent 7334734 commit 35f7b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emmy_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ source_group_by_dir(${CMAKE_CURRENT_SOURCE_DIR} SRC_LIST)
source_group_by_dir(${CMAKE_CURRENT_SOURCE_DIR} HEADER_LIST)
source_group_by_dir(${CMAKE_CURRENT_SOURCE_DIR} HOOK_LIST)

add_library(emmy_core MODULE ${SRC_LIST} ${HEADER_LIST})
add_library(emmy_core SHARED ${SRC_LIST} ${HEADER_LIST})
set_target_properties(emmy_core PROPERTIES PREFIX "")
if(WIN32)
add_dependencies(emmy_core uv_a)
target_link_libraries(emmy_core uv_a)

# emmy_hook
add_library(emmy_hook MODULE ${SRC_LIST} ${HEADER_LIST} ${HOOK_LIST} ${SHARED_LIST})
add_library(emmy_hook SHARED ${SRC_LIST} ${HEADER_LIST} ${HOOK_LIST} ${SHARED_LIST})
target_compile_definitions(emmy_hook PRIVATE EMMY_BUILD_AS_HOOK)
add_dependencies(emmy_hook EasyHook uv_a)
target_link_libraries(emmy_hook EasyHook uv_a)
Expand Down

0 comments on commit 35f7b07

Please sign in to comment.