Skip to content

Commit bf02734

Browse files
committed
fixed build
1 parent d1d69a5 commit bf02734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src_csharp/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ execute_process(COMMAND dotnet --version
1010
if(result)
1111
message(WARNING "CMake failed: dotnet executable not found but by this build. You must install dotnet to generate csharp bindings")
1212
else()
13-
set(PLATFORM x64)
13+
set(PLATFORM x64)
1414
if(NOT DEFINED CMAKE_GENERATOR_PLATFORM)
1515
set(PLATFORM x64)
16-
elseif(NOT ("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64"))
16+
elseif("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "Win32")
1717
set(PLATFORM x86)
1818
ENDIF()
1919

0 commit comments

Comments
 (0)