From 5672f44e5da601affd20b49f7393ef522f30255a Mon Sep 17 00:00:00 2001 From: sfb Date: Wed, 27 Oct 2010 12:07:58 -0500 Subject: [PATCH] Changed: Fixed the MAX plugin build for CMake. --- code/nel/CMakeLists.txt | 4 ++-- code/nel/tools/3d/CMakeLists.txt | 4 ++-- code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/nel/CMakeLists.txt b/code/nel/CMakeLists.txt index 74c8a1902..86a9236cd 100644 --- a/code/nel/CMakeLists.txt +++ b/code/nel/CMakeLists.txt @@ -10,9 +10,9 @@ IF(WIN32) FIND_PACKAGE(DirectXSDK REQUIRED) # On Win32 we can also build the MAX plugins. - IF(WITH_MAXPLUGIN) + IF(WITH_NEL_MAXPLUGIN) FIND_PACKAGE(3dsMaxSDK) - ENDIF(WITH_MAXPLUGIN) + ENDIF(WITH_NEL_MAXPLUGIN) ENDIF(WIN32) IF(WITH_3D) diff --git a/code/nel/tools/3d/CMakeLists.txt b/code/nel/tools/3d/CMakeLists.txt index 7c0d02fec..bc21ae69f 100644 --- a/code/nel/tools/3d/CMakeLists.txt +++ b/code/nel/tools/3d/CMakeLists.txt @@ -35,12 +35,12 @@ IF(WIN32) ADD_SUBDIRECTORY(tile_edit) ENDIF(MFC_FOUND) - IF(WITH_MAXPLUGIN) + IF(WITH_NEL_MAXPLUGIN) IF(MAXSDK_FOUND) ADD_SUBDIRECTORY(plugin_max) ADD_SUBDIRECTORY(ligo) ENDIF(MAXSDK_FOUND) - ENDIF(WITH_MAXPLUGIN) + ENDIF(WITH_NEL_MAXPLUGIN) ENDIF(WIN32) diff --git a/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt b/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt index 37a9bb0be..04f0c3e52 100644 --- a/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt +++ b/code/nel/tools/3d/plugin_max/nel_3dsmax_shared/CMakeLists.txt @@ -14,7 +14,7 @@ TARGET_LINK_LIBRARIES(nel_3dsmax_shared NL_DEFAULT_PROPS(nel_3dsmax_shared "MAX Plugin: NeL 3DSMAX Shared") NL_ADD_RUNTIME_FLAGS(nel_3dsmax_shared) NL_ADD_LIB_SUFFIX(nel_3dsmax_shared) -SET_TARGET_PROPERTIES(nel_export PROPERTIES SUFFIX ".dlx") +#SET_TARGET_PROPERTIES(nel_export PROPERTIES SUFFIX ".dlx") ADD_DEFINITIONS(-DNEL_3DSMAX_SHARED_EXPORTS)