Skip to content

Commit 80fdb94

Browse files
author
Matthias Arzt
committed
- fmu c++ traget, fix bug introduced in revision 16736 when compiling on 64 bit linux
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16786 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent fa170fd commit 80fdb94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SimulationRuntime/cpp/Core/Modelica/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
1414
include(CheckTypeSize)
1515
check_type_size("void*" SIZEOF_VOID_P BUILTIN_TYPES_ONLY)
1616
set(LINUX_LIB_DL "-ldl")
17-
if(${SIZEOF_VOID_P} MATCHES 64)
17+
if(${SIZEOF_VOID_P} MATCHES 8)
1818
set(FMI_ARCH_DIR "linux64")
19-
else(${SIZEOF_VOID_P} MATCHES 64)
19+
else(${SIZEOF_VOID_P} MATCHES 8)
2020
set(FMI_ARCH_DIR "linux32")
21-
endif(${SIZEOF_VOID_P} MATCHES 64)
21+
endif(${SIZEOF_VOID_P} MATCHES 8)
2222
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
2323

2424
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")

0 commit comments

Comments
 (0)