Editet cmakelists

This commit is contained in:
arcan1s
2013-08-29 17:50:38 +04:00
parent d049cd091c
commit 7964d9a360
12 changed files with 29 additions and 13 deletions

View File

@ -6,6 +6,16 @@ set (COMPS mathmech
mm_trj
mm_trj2pdb)
# install options
set (MM_PREFIX "mm_" CACHE STRING "Prefix for mathmech tools")
if (CMAKE_COMPILER_IS_GNUCXX)
set (QWT_INCLUDE_PATH "/usr/include" CACHE STRING "Path to qwt include")
set (QWT_LIBRARY_PATH "/usr/lib" CACHE STRING "Path to qwt library")
else ()
set (QWT_INCLUDE_PATH "C:/Qwt-6.1.0/include" CACHE STRING "Path to qwt include")
set (QWT_LIBRARY_PATH "C:/Qwt-6.1.0/lib" CACHE STRING "Path to qwt library")
endif()
foreach (COMP ${COMPS})
add_subdirectory (${COMP})
endforeach()