Jump to content
  • 0

The Cmake is giving me an error


codeman3518

Question

I know it is saying MaNGOS is not in that location for one but the other errors and that one about MaNGOS not sure what to do about these errors I go Trinity working first try not sure why mangos wont work normally I am always mangos but never had so many errors with it or other stuff compile did fine until I tried doing cmake thanks for any help :)

CMake Warning (dev) at CMakeLists.txt:298 (get_target_property):
 Policy CMP0026 is not set: Disallow use of the LOCATION target property.
 Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
 command to set the policy and suppress this warning.

 The LOCATION property should not be read from target "genrev".  Use the
 target name directly with add_custom_command, or use the generator
 expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/ExternalProject.cmake:1069 (file):
 file problem creating directory: C:/Program Files (x86)/MaNGOS
Call Stack (most recent call first):
 C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/ExternalProject.cmake:2308 (_ep_set_directories)
 dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)


CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/ExternalProject.cmake:1071 (message):
 dir 'C:/Program Files (x86)/MaNGOS' does not exist after
 file(MAKE_DIRECTORY)
Call Stack (most recent call first):
 C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/ExternalProject.cmake:2308 (_ep_set_directories)
 dep/ACE_wrappers/CMakeLists.txt:39 (ExternalProject_Add)

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Just added mangos to program files 86 and the error is gone but now I get this

CMake Warning (dev) at CMakeLists.txt:298 (get_target_property):
 Policy CMP0026 is not set: Disallow use of the LOCATION target property.
 Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
 command to set the policy and suppress this warning.

 The LOCATION property should not be read from target "genrev".  Use the
 target name directly with add_custom_command, or use the generator
 expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

Using MSVC
Configuring done

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use