@ -207,7 +207,7 @@ ENDIF()
NL_CONFIGURE_CHECKS()
IF(WITH_STATIC_LIBXML2)
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
ADD_DEFINITIONS(-DLIBXML_STATIC)
ENDIF()
IF(WITH_LIBXML2_ICONV)
@ -1268,7 +1268,9 @@ MACRO(SETUP_EXTERNAL)
SET(CMAKE_USE_PTHREADS_INIT 1)
SET(Threads_FOUND TRUE)
ELSE()
SET(THREADS_HAVE_PTHREAD_ARG ON)
IF(NOT MSVC)
FIND_PACKAGE(Threads)
# TODO: replace all -l<lib> by absolute path to <lib> in CMAKE_THREAD_LIBS_INIT
@ -21,5 +21,3 @@
// and not in this file
#include "stdafx.h"
void nlmax_shared_stdafx_dummy() { }
@ -18,6 +18,3 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "std_afx.h"
void nlmax_nel_export_std_afx_dummy() { }
@ -19,6 +19,3 @@
void nlmax_mesh_library_stdafx_dummy() { }
@ -1,3 +1 @@
void nlmax_patch_edit_stdafx_dummy() { }
@ -18,5 +18,3 @@
void nlmax_patch_library_stdafx_dummy() { }
void nlmax_patch_painter_stdafx_dummy() { }