File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 2.8 )
2
2
3
3
project (modelica3d_dbus CXX C )
4
- option (USE_OMC "use openmodelica" OFF )
4
+ option (USE_OMC "use openmodelica" ON )
5
5
option (OSG_BACKEND "build openscenegraph backed" ON )
6
6
option (INSTALL_EXAMPLES "install examples" ON )
7
7
option (BLENDER_BACKEND "build blender backed" ON )
Original file line number Diff line number Diff line change 1
1
# Tries to detect omc modelica-library and include dirs, does not search for binary yet
2
2
3
3
# This will also search ${CMAKE_PREFIX_PATH}/include automagically
4
- find_path (OMC_INCLUDE_DIR modelica .h PATH_SUFFIXES omc )
4
+ find_path (OMC_INCLUDE_DIR openmodelica .h PATH_SUFFIXES omc/c )
5
5
6
6
# This will _not_ search ${CMAKE_PREFIX_PATH}/lib automagically, we need to give a search hint
7
- find_path (OMC_MOD_LIB_DIR "Modelica 3.1 /package.mo"
7
+ find_path (OMC_MOD_LIB_DIR "ModelicaReference /package.mo"
8
8
PATHS "${CMAKE_LIBRARY_PATH} /omlibrary"
9
9
"${CMAKE_PREFIX_PATH} /lib/omlibrary" /usr/lib/omlibrary )
10
10
You can’t perform that action at this time.
0 commit comments