File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,16 @@ include_directories(
5454source_group_by_dir(${CMAKE_CURRENT_SOURCE_DIR} SRC_LIST)
5555source_group_by_dir(${CMAKE_CURRENT_SOURCE_DIR} HEADER_LIST)
5656source_group_by_dir(${CMAKE_CURRENT_SOURCE_DIR} HOOK_LIST)
57- source_group ("SHME" FILES SHARED_LIST)
5857
5958add_library (emmy_core MODULE ${SRC_LIST} ${HEADER_LIST} )
6059set_target_properties (emmy_core PROPERTIES PREFIX "" )
61- add_library (emmy_hook MODULE ${SRC_LIST} ${HEADER_LIST} ${HOOK_LIST} ${SHARED_LIST} )
62- target_compile_definitions (emmy_hook PRIVATE EMMY_BUILD_AS_HOOK)
6360if (WIN32 )
6461 add_dependencies (emmy_core uv_a)
6562 target_link_libraries (emmy_core uv_a)
63+
64+ # emmy_hook
65+ add_library (emmy_hook MODULE ${SRC_LIST} ${HEADER_LIST} ${HOOK_LIST} ${SHARED_LIST} )
66+ target_compile_definitions (emmy_hook PRIVATE EMMY_BUILD_AS_HOOK)
6667 add_dependencies (emmy_hook EasyHook uv_a)
6768 target_link_libraries (emmy_hook EasyHook uv_a)
6869else (WIN32 )
You can’t perform that action at this time.
0 commit comments