https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: d6e044a84380fdad9655c87ee88fc36874380c6b authored by Lars Bilke on 02 March 2015, 07:43:45 UTC
The RPATH is now set to the binaries location on Linux.
Tip revision: d6e044a
CMakeLists.txt
GET_SOURCE_FILES(SOURCES)

list(APPEND SOURCES "${CMAKE_CURRENT_BINARY_DIR}/BuildInfo.cpp" BuildInfo.h)

# Create the library
add_library(BaseLib STATIC ${SOURCES})

set_target_properties(BaseLib PROPERTIES LINKER_LANGUAGE CXX)

include_directories(
	.
)

target_link_libraries(BaseLib
	${Boost_LIBRARIES}
)

if(WIN32)
	target_link_libraries(BaseLib WinMM)
endif()
back to top