Commit 0059a060 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer

Windows install fixes.

parent 6e67b01c
......@@ -40,8 +40,5 @@ INCLUDE_DIRECTORIES("${PROJECT_BINARY_DIR}/src")
INCLUDE_DIRECTORIES("${PROJECT_SOURCE_DIR}/src")
ADD_SUBDIRECTORY(src)
IF(WIN32)
ADD_SUBDIRECTORY(tests)
ELSE(WIN32)
ADD_SUBDIRECTORY(tests EXCLUDE_FROM_ALL)
ENDIF(WIN32)
# EXCLUDE_FROM_ALL doesn't seem to be working in VS
ADD_SUBDIRECTORY(tests)
......@@ -25,9 +25,8 @@ IF(UNIX)
ENDIF(UNIX)
INSTALL(FILES libaec.h szlib.h DESTINATION include)
INSTALL(TARGETS aec sz
INSTALL(TARGETS aec sz aec_client
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/aec DESTINATION bin)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment