projects
/
project
/
ustream-ssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove commented out include/link directories
[project/ustream-ssl.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index bd8ce3fda7fd3dca2056492735fe22d15e2e680b..dd0a70cb33b481e188896aea9791d4b61e77e8ba 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-5,8
+5,6
@@
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
-#INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include/cyassl)
-#LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/lib)
IF(APPLE)
INCLUDE_DIRECTORIES(/opt/local/include)
LINK_DIRECTORIES(/opt/local/lib)
IF(APPLE)
INCLUDE_DIRECTORIES(/opt/local/include)
LINK_DIRECTORIES(/opt/local/lib)
@@
-25,3
+23,11
@@
ADD_EXECUTABLE(ustream-example ustream-example.c)
TARGET_LINK_LIBRARIES(ustream-example ustream-ssl)
SET(CMAKE_INSTALL_PREFIX /usr)
TARGET_LINK_LIBRARIES(ustream-example ustream-ssl)
SET(CMAKE_INSTALL_PREFIX /usr)
+
+FILE(GLOB headers *.h)
+INSTALL(FILES ${headers}
+ DESTINATION include/libubox
+)
+INSTALL(TARGETS ustream-ssl
+ LIBRARY DESTINATION lib
+)