Skip to content

Commit

Permalink
- reverted r18640 as it breaks builds and tests.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18642 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 14, 2014
1 parent b41d271 commit bbeecc0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions SimulationRuntime/cpp/CMakeLists.txt
Expand Up @@ -7,8 +7,9 @@ SET(ENV{BOOST_ROOT} $ENV{OMDEV}"/lib/3rdParty/boost-1_49/")
SET(BLAS_blas_LIBRARY $ENV{OMDEV}/lib/3rdParty/Lapack/Lib/blas_win32.dll CACHE FILEPATH "Blas library")
SET(LAPACK_lapack_LIBRARY $ENV{OMDEV}/lib/3rdParty/Lapack/Lib/lapack_win32.dll CACHE FILEPATH "Lapack library")
SET(BLAS_DIRY "$ENV{OMDEV}/lib/3rdParty/Lapack/Lib/" CACHE LOCATION "where was yarp built?")
SET(ENV{MINPACK_ROOT} ${CMAKE_SOURCE_DIR}"/../../3rdParty/CMinpack/install")

########################################
# TEST
FIND_PATH(CMINPACK_INCLUDE_DIR cminpack.h
HINTS "${CMAKE_SOURCE_DIR}/../../3rdParty/CMinpack/install"
PATH_SUFFIXES include include/cminpack include/cminpack-1)
Expand All @@ -18,11 +19,10 @@ FIND_LIBRARY(CMINPACK_LIBRARY
HINTS "${CMAKE_SOURCE_DIR}/../../3rdParty/CMinpack/install"
PATH_SUFFIXES lib lib64)

#include_directories(CMINPACK_INCLUDE_DIR)
# END TEST


message(STATUS "Minpack librarie:")
message(STATUS ${CMINPACK_INCLUDE_DIR})
message(STATUS ${CMINPACK_LIBRARY})
########################################

# Disable Optimization for RelWithDebInfo on Windows
if (MSVC)
Expand Down Expand Up @@ -146,7 +146,6 @@ link_directories ( ${Boost_LIBRARY_DIRS} )
include_directories (${Boost_INCLUDE_DIR})
include_directories ("${PROJECT_SOURCE_DIR}")
include_directories ("${PROJECT_BINARY_DIR}")
include_directories ("${CMINPACK_INCLUDE_DIR}")

message(STATUS "Boost dirs '${Boost_LIBRARY_DIRS}', '${Boost_INCLUDE_DIR}'")

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Solver/Hybrj/CMakeLists.txt
Expand Up @@ -4,7 +4,7 @@ project(${HybrjName})
# add the solver default implementation library
add_library(${HybrjName} SHARED Hybrj.cpp HybrjSettings.cpp FactoryExport.cpp )
target_link_libraries( ${HybrjName} ${Boost_LIBRARIES})
target_link_libraries( ${HybrjName} ${LAPACK_LIBRARIES} ${CMINPACK_LIBRARY})
target_link_libraries( ${HybrjName} ${LAPACK_LIBRARIES} ${MINPACK_LIBRARIES})


install (TARGETS ${HybrjName} DESTINATION lib/omc/${LIBINSTALLEXT})
Expand Down

0 comments on commit bbeecc0

Please sign in to comment.