File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
FileInterface/FileInterface_UnitTests Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ include_directories(
32
32
# variable you can point to a different ERT distribution.
33
33
34
34
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
35
- set (ERT_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../ThirdParty/Ert" )
35
+ set (ERT_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../ThirdParty/Ert" )
36
36
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Windows" )
37
- if ( ${CMAKE_SIZEOF_VOID_P} MATCHES "8" )
38
- set (ERT_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../ThirdParty/Ert-windows-x64" )
39
- else ()
40
- set (ERT_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../ThirdParty/Ert-windows" )
41
- endif ()
37
+ if ( CMAKE_CL_64 )
38
+ set (ERT_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../ThirdParty/Ert-windows-x64" )
39
+ else ()
40
+ set (ERT_ROOT_PATH "${CMAKE_CURRENT_SOURCE_DIR} /../ThirdParty/Ert-windows" )
41
+ endif ()
42
42
endif ()
43
43
44
44
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ include_directories(
27
27
#-----------------------------------------------------------------
28
28
# Ert configuration
29
29
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" )
30
- set (ERT_ROOT_PATH "${ResInsight_SOURCE_DIR} /ThirdParty/Ert" )
30
+ set (ERT_ROOT_PATH "${ResInsight_SOURCE_DIR} /ThirdParty/Ert" )
31
31
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Windows" )
32
- if ( ${CMAKE_SIZEOF_VOID_P} MATCHES "8" )
33
- set (ERT_ROOT_PATH "${ResInsight_SOURCE_DIR} /ThirdParty/Ert-windows-x64" )
34
- else ()
35
- set (ERT_ROOT_PATH "${ResInsight_SOURCE_DIR} /ThirdParty/Ert-windows" )
36
- endif ()
32
+ if ( CMAKE_CL_64 )
33
+ set (ERT_ROOT_PATH "${ResInsight_SOURCE_DIR} /ThirdParty/Ert-windows-x64" )
34
+ else ()
35
+ set (ERT_ROOT_PATH "${ResInsight_SOURCE_DIR} /ThirdParty/Ert-windows" )
36
+ endif ()
37
37
endif ()
38
38
39
39
set ( ERT_ECL_PREFIX "ecl" CACHE STRING "Prefix path to use for ecl code in ert" )
You can’t perform that action at this time.
0 commit comments