Simspark installation in opensuse11.0s

Source: Internet
Author: User
The strange problem of installing simspark in opensuse11.0s-Linux general technology-Linux technology and application information. The following is a detailed description. Xuexi @ linux-i9fk :~ /Bin/simspark-0.1.2/spark/build> cmake ..
CMake Error at CMakeLists.txt: 25 (install ):
Install FILES given no DESTINATION!


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such

Cmake_minimum_required (VERSION 2.6)

Shocould be added at the top of the file. The version specified may be lower
If you wish to support older CMake versions for this project. For more
Information run "cmake -- help-policy CMP0000 ".
This warning is for project developers. Use-Wno-dev to suppress it.

-- Processing ing done
In cmakelists.txt: 25, what is this error and how to solve it? Please advise

Ps: CMakeLists.txt
########### Next target ###############

Set (spark_LIB_SRCS
Spark. cpp
Spark. h
)

Include_directories ($ {CMAKE_SOURCE_DIR}/lib $ {CMAKE_SOURCE_DIR}/utility $ {FREETYPE_INCLUDE_DIRS}
$ {Boost_INCLUDE_DIRS }$ {ODE_INCLUDE_DIR }$ {DevIL_INCLUDE_DIR })

Add_library (spark $ {spark_LIB_SRCS })

Target_link_libraries (spark salt zeitgeist oxygen kerosin)

Set_target_properties (spark properties version $ {SPARK_VERSION}
SOVERSION $ {SPARK_SO_VERSION} DEBUG_POSTFIX _ debug)
Install (TARGETS spark DESTINATION $ {LIBDIR}/$ {CMAKE_PROJECT_NAME })

Configure_file ($ {CMAKE_CURRENT_SOURCE_DIR}/spark-config.in
$ {CMAKE_CURRENT_BINARY_DIR}/spark-config)

########## Install files ###############

Install (FILES spark. rb DESTINATION $ {DATADIR}/$ {CMAKE_PROJECT_NAME })
Install (FILES $ {CMAKE_CURRENT_BINARY_DIR}/spark-config DESTINATION $ {BINDIR}
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
GROUP_EXECUTE GROUP_READ WORLD_READ WORLD_EXECUTE)
Install (FILES spark. h DESTINATION $ {INCLUDEDIR}/$ {CMAKE_PROJECT_NAME}/spark)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.