From 525a852884c24ea0282759d9a8f2363184d5686d Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 14 Dec 2012 14:37:36 +0100 Subject: CMakeLists.txt: Set Target name and extend library path to work on Linux --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 636cd94..8d379a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ SET(OPENSIM_INSTALL_DIR $ENV{OPENSIM_HOME} CACHE PATH "Top-level directory of OpenSim install") # Change name of build target -SET(TARGET exampleMain CACHE TYPE STRING) +SET(TARGET LocomotorPrimitives CACHE TYPE STRING) # Identify the cpp file(s) that were to be built FILE(GLOB SOURCE_FILES *.h *.cpp) SET(SOURCE ${SOURCE_FILES}) @@ -28,6 +28,7 @@ SET(OPENSIM_HEADERS_DIR ${OPENSIM_INSTALL_DIR}/sdk/include) INCLUDE_DIRECTORIES(${SIMTK_HEADERS_DIR} ${OPENSIM_HEADERS_DIR}) # Libraries and dlls SET(OPENSIM_LIBS_DIR ${OPENSIM_INSTALL_DIR}/sdk/lib) +SET(OPENSIM_LIBS_DIR ${OPENSIM_INSTALL_DIR}/lib) SET(OPENSIM_DLLS_DIR ${OPENSIM_INSTALL_DIR}/bin) LINK_DIRECTORIES(${OPENSIM_LIBS_DIR} ${OPENSIM_DLLS_DIR}) -- cgit v1.2.3-54-g00ecf