Changeset - 6a9d2d51411c
[Not reviewed]
0 1 0
Vitaly Takmazov - 13 years ago 2012-12-10 10:33:51
vitalyster@gmail.com
Use sqlite3 target only if win32
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
spectrum/src/CMakeLists.txt
Show inline comments
 
@@ -6,25 +6,29 @@ FILE(GLOB WIN_SRC win32/*.cpp)
 
include_directories(win32)
 
include_directories("${CMAKE_SOURCE_DIR}/msvc-deps/sqlite3")
 
ADD_EXECUTABLE(spectrum2 ${SRC} ${WIN_SRC})
 
else()
 
ADD_EXECUTABLE(spectrum2 ${SRC})
 
endif()
 
 
 
 
ADD_DEPENDENCIES(spectrum2 spectrum2_libpurple_backend)
 
ADD_DEPENDENCIES(spectrum2 spectrum2_libircclient-qt_backend)
 
 
if (WIN32)
 
target_link_libraries(spectrum2 transport sqlite3 ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
 
else ()
 
target_link_libraries(spectrum2 transport ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES} ${PROTOBUF_LIBRARY})
 
endif()
 
 
INSTALL(TARGETS spectrum2 RUNTIME DESTINATION bin)
 
 
INSTALL(FILES
 
	sample2.cfg
 
	RENAME spectrum.cfg.example
 
	DESTINATION /etc/spectrum2/transports
 
	)
 
 
INSTALL(FILES
 
	backend-logging.cfg
 
	DESTINATION /etc/spectrum2
0 comments (0 inline, 0 general)