Commit b3b0e12 1 parent 07c0cef commit b3b0e12 Copy full SHA for b3b0e12
File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ project(
8
8
VERSION ${PACKAGE_VERSION}
9
9
LANGUAGES C CXX Fortran)
10
10
11
- if (WIN32 )
12
- # if building on windows we need to make sure the symbols are exported
13
- set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE )
14
- # required to build the .dll on windows
15
- set (BUILD_SHARED_LIBS TRUE )
16
- endif ()
11
+ if (WIN32 )
12
+ # if building on windows we need to make sure the symbols are exported
13
+ set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE )
14
+ # required to build the .dll on windows
15
+ set (BUILD_SHARED_LIBS TRUE )
16
+ endif ()
17
17
18
18
include (FortranCInterface)
19
19
FortranCInterface_VERIFY(CXX QUIET )
@@ -103,8 +103,11 @@ install(FILES "${CMAKE_BINARY_DIR}/modules/ftorch_test_utils.mod"
103
103
# Build integration tests
104
104
if (CMAKE_BUILD_TESTS)
105
105
106
- set (Python_FIND_VIRTUALENV FIRST)
107
- find_package (Python COMPONENTS Interpreter REQUIRED)
106
+ set (Python_FIND_VIRTUALENV FIRST) # cmake-lint: disable=C0103
107
+ find_package (
108
+ Python
109
+ COMPONENTS Interpreter
110
+ REQUIRED)
108
111
109
112
file (MAKE_DIRECTORY test /examples)
110
113
file (COPY ${CMAKE_CURRENT_SOURCE_DIR} /../examples/CMakeLists.txt
You can’t perform that action at this time.
0 commit comments