Skip to content

Commit 36a5221

Browse files
committed
CMakeLists.txt
1 parent 8e356e0 commit 36a5221

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# EmmyLuaDebugger
22
OS | CI status
33
---------- | ----------
4-
MAC|[![Build Status](https://travis-ci.org/EmmyLua/EmmyLuaDebugger.svg?branch=master)](https://travis-ci.org/EmmyLua/EmmyLuaDebugger)
4+
MAC & Linux|[![Build Status](https://travis-ci.org/EmmyLua/EmmyLuaDebugger.svg?branch=master)](https://travis-ci.org/EmmyLua/EmmyLuaDebugger)
55
Windows|[![Build status](https://ci.appveyor.com/api/projects/status/dp7yb09v07lq80t7?svg=true)](https://ci.appveyor.com/project/EmmyLua/emmyluadebugger)

emmy_core/CMakeLists.txt

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,19 @@ if(WIN32)
6666
target_compile_definitions(emmy_hook PRIVATE EMMY_BUILD_AS_HOOK)
6767
add_dependencies(emmy_hook EasyHook uv_a)
6868
target_link_libraries(emmy_hook EasyHook uv_a)
69+
70+
install(
71+
TARGETS emmy_core emmy_hook
72+
LIBRARY DESTINATION bin
73+
RUNTIME DESTINATION bin
74+
)
6975
else(WIN32)
7076
add_dependencies(emmy_core ${LINK_LIBRARIES})
7177
target_link_libraries(emmy_core ${LINK_LIBRARIES})
72-
endif(WIN32)
7378

74-
install(
75-
TARGETS emmy_core emmy_hook
76-
LIBRARY DESTINATION bin
77-
RUNTIME DESTINATION bin
78-
)
79+
install(
80+
TARGETS emmy_core
81+
LIBRARY DESTINATION bin
82+
RUNTIME DESTINATION bin
83+
)
84+
endif(WIN32)

0 commit comments

Comments
 (0)