mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Use forwardslashes in CMake path arguments
CMake 3.8's FindBoost doesn't convert backslashes to forwardslashes internally for some reason, so backslashes cause a syntax error...
This commit is contained in:
+2
-2
@@ -36,9 +36,9 @@ before_build:
|
||||
- cd build
|
||||
- ps: |
|
||||
if ($env:PLATFORM -eq 'Win32') {
|
||||
cmake .. -G "Visual Studio 14 2015" -DBOOST_ROOT="C:\projects\boost_1_61_0" -DBOOST_LIBRARYDIR="C:\projects\boost_1_61_0\stage\32\lib"
|
||||
cmake .. -G "Visual Studio 14 2015" -DBOOST_ROOT="C:/projects/boost_1_61_0" -DBOOST_LIBRARYDIR="C:/projects/boost_1_61_0/stage/32/lib"
|
||||
} else {
|
||||
cmake .. -G "Visual Studio 14 2015 Win64" -DBOOST_ROOT="C:\projects\boost_1_61_0" -DBOOST_LIBRARYDIR="C:\projects\boost_1_61_0\stage\64\lib"
|
||||
cmake .. -G "Visual Studio 14 2015 Win64" -DBOOST_ROOT="C:/projects/boost_1_61_0" -DBOOST_LIBRARYDIR="C:/projects/boost_1_61_0/stage/64/lib"
|
||||
}
|
||||
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user