Changeset cc36b37 in OpenModelica
- Timestamp:
- 2020-10-21T14:04:18+02:00 (3 years ago)
- Children:
- 2e1f3837
- Parents:
- 577c0c0b
- git-author:
- Mahder Gebremedhin <mahder.gebremedhin@…> (09/25/20 14:05:57)
- git-committer:
- Mahder Gebremedhin <mahder.gebremedhin@…> (10/21/20 14:04:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/CMakeLists.txt
r16b92f9d rcc36b37 20 20 omc_add_to_report(CMAKE_BUILD_TYPE) 21 21 22 # Precaution so that users do not install in system folders (e.g. /user/, /usr/local/) 23 # unintentionally. If the user has not specified anything default to an install_cmake dir in the root folder. 24 if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) 25 set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/install_cmake CACHE PATH "Default installation directory" FORCE) 26 message(WARNING "No installation directory specified. ${CMAKE_INSTALL_PREFIX}") 27 endif() 28 omc_add_to_report(CMAKE_INSTALL_PREFIX) 29 30 22 31 # Set the installation lib directory as an rpath for all installed 23 # libs .32 # libs and executables. 24 33 # Maybe there is a better way to do this but it should suffice for now. 25 34 SET(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib) … … 33 42 omc_add_subdirectory(3rdParty) 34 43 35 # We do this after 3rdPart is added because some libs in FMILib use implicit function declration44 # We do this after 3rdParty is added because some libs in FMILib use implicit function declaration 36 45 # because of missing #defines due to bad configuration. 37 46
Note: See TracChangeset
for help on using the changeset viewer.