Added condition in CMakeLists.txt for TelldusGui so that install library only is evaluated on Linux, allowing it to compile on windows platform too.
This commit is contained in:
parent
829e8e2e66
commit
bdbc0e0759
1 changed files with 2 additions and 0 deletions
|
@ -157,7 +157,9 @@ SET_PROPERTY(TARGET ${telldus-gui_TARGET}
|
|||
PROPERTY SOVERSION ${PACKAGE_SOVERSION}
|
||||
)
|
||||
|
||||
if (UNIX)
|
||||
INSTALL(TARGETS ${telldus-gui_TARGET}
|
||||
LIBRARY DESTINATION lib
|
||||
# PUBLIC_HEADER DESTINATION ${HEADER_DIR}
|
||||
)
|
||||
endif (UNIX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue