cmake: add dep of version lib on version.cpp

Also, move cmake source files into cmake/ to keep them together.
This commit is contained in:
redfish
2017-10-20 22:07:34 -04:00
parent 353402595c
commit 11e0deef31
4 changed files with 17 additions and 15 deletions
-2
View File
@@ -698,8 +698,6 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS)
list(APPEND EXTRA_LIBRARIES ${ATOMIC})
endif()
include(version.cmake)
find_path(ZMQ_INCLUDE_PATH zmq.hpp)
find_library(ZMQ_LIB zmq)
find_library(SODIUM_LIBRARY sodium)