Files
PyG2O/windows-x86.cmake

13 lines
352 B
CMake

# Simple toolchain file for compiling under windows
# Usage: cmake .. -DCMAKE_TOOLCHAIN_FILE=windows-x86.cmake
# specify the target system properties
set(CMAKE_SYSTEM_NAME Windows)
if (CMAKE_GENERATOR MATCHES "Visual Studio*")
set(CMAKE_GENERATOR_PLATFORM Win32 CACHE INTERNAL "")
endif()
# specify shared library suffix
set(OUT_FILE_SUFFIX "x86")