Skip to content

Commit 2d28229

Browse files
committed
cmake install
1 parent 8bce2a5 commit 2d28229

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

CMakeLists.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,4 @@ add_subdirectory(third-party/libuv-1.29.0)
5959
add_subdirectory(emmy_core)
6060
if(WIN32)
6161
add_subdirectory(emmy_hook)
62-
63-
install(
64-
TARGETS emmy_core ${EMMY_LUA_VERSION}_dll ${EMMY_LUA_VERSION}_exe
65-
LIBRARY DESTINATION lib
66-
RUNTIME DESTINATION bin
67-
)
68-
else(WIN32)
69-
# install(
70-
# TARGETS emmy_core ${EMMY_LUA_VERSION}_dll ${EMMY_LUA_VERSION}_exe
71-
# LIBRARY DESTINATION lib
72-
# RUNTIME DESTINATION bin
73-
# )
7462
endif(WIN32)

emmy_core/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,10 @@ if(WIN32)
5353
else(WIN32)
5454
add_dependencies(emmy_core ${LINK_LIBRARIES})
5555
target_link_libraries(emmy_core ${LINK_LIBRARIES})
56-
endif(WIN32)
56+
endif(WIN32)
57+
58+
install(
59+
TARGETS emmy_core
60+
LIBRARY DESTINATION lib
61+
RUNTIME DESTINATION bin
62+
)

0 commit comments

Comments
 (0)