Commit fa2f3bcf authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: superbuild: use openthreads archive also on Windows

parent 562c701b
...@@ -18,7 +18,8 @@ else() ...@@ -18,7 +18,8 @@ else()
message(STATUS " Using OpenThreads SuperBuild version") message(STATUS " Using OpenThreads SuperBuild version")
#TODO: try to use cmake variable for DOWNLOAD_COMMAND for different platforms #TODO: try to use cmake variable for DOWNLOAD_COMMAND for different platforms
if(MSVC) #if(MSVC)
if(0)
ExternalProject_Add(${proj} ExternalProject_Add(${proj}
PREFIX ${proj} PREFIX ${proj}
SVN_REPOSITORY "http://svn.openscenegraph.org/osg/OpenThreads/tags/OpenThreads-2.3.0/" SVN_REPOSITORY "http://svn.openscenegraph.org/osg/OpenThreads/tags/OpenThreads-2.3.0/"
...@@ -34,7 +35,8 @@ else() ...@@ -34,7 +35,8 @@ else()
${CMAKE_SOURCE_DIR}/patches/${proj}/CMakeLists.txt ${OPENTHREADS_SB_SRC} ${CMAKE_SOURCE_DIR}/patches/${proj}/CMakeLists.txt ${OPENTHREADS_SB_SRC}
CMAKE_COMMAND ${SB_CMAKE_COMMAND} CMAKE_COMMAND ${SB_CMAKE_COMMAND}
) )
else(UNIX or APPLE) #else(UNIX or APPLE)
else()
ExternalProject_Add(${proj} ExternalProject_Add(${proj}
PREFIX ${proj} PREFIX ${proj}
URL "http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-3.2.0.zip" URL "http://www.openscenegraph.org/downloads/developer_releases/OpenSceneGraph-3.2.0.zip"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment